 queue_dynamics1

optcost=2.806656e+03
....................................................................................................................................................................................
3.658956e+05
67  subplot(2,1,1); plot(Uopt); hold on; plot(Uall)
queue_dynamics1

optcost=2.806656e+03
....................................................................................................................................................................................
6.491499e+03
67  subplot(2,1,1); plot(Uopt); hold on; plot(Uall)
....................................................................................................................................................................................
5.253567e+03
....................................................................................................................................................................................
5.522615e+03
....................................................................................................................................................................................
6.462000e+03
....................................................................................................................................................................................
7.799592e+03
....................................................................................................................................................................................
9.422395e+03
....................................................................................................................................................................................
1.127077e+04
....................................................................................................................................................................................
1.330608e+04
....................................................................................................................................................................................
1.549913e+04
....................................................................................................................................................................................
1.782593e+04
....................................................................................................................................................................................
2.026503e+04
....................................................................................................................................................................................
2.279754e+04
....................................................................................................................................................................................
2.540588e+04
....................................................................................................................................................................................
2.807396e+04
....................................................................................................................................................................................
3.078754e+04
....................................................................................................................................................................................
3.353336e+04
....................................................................................................................................................................................
3.629955e+04
....................................................................................................................................................................................
3.907573e+04
....................................................................................................................................................................................
4.185233e+04
....................................................................................................................................................................................
4.462126e+04
....................................................................................................................................................................................
4.737557e+04
....................................................................................................................................................................................
5.010909e+04
....................................................................................................................................................................................
5.281659e+04
....................................................................................................................................................................................
5.549373e+04
....................................................................................................................................................................................
5.813695e+04
....................................................................................................................................................................................
6.074336e+04
....................................................................................................................................................................................
6.331060e+04
....................................................................................................................................................................................
6.583688e+04
....................................................................................................................................................................................
6.832103e+04
....................................................................................................................................................................................
7.076206e+04
....................................................................................................................................................................................
7.315955e+04
....................................................................................................................................................................................
7.551331e+04
....................................................................................................................................................................................
7.782336e+04
....................................................................................................................................................................................
8.009003e+04
....................................................................................................................................................................................
8.231386e+04
....................................................................................................................................................................................
8.449552e+04
....................................................................................................................................................................................
8.663576e+04
....................................................................................................................................................................................
8.873553e+04
....................................................................................................................................................................................
9.079578e+04
....................................................................................................................................................................................
9.281760e+04
....................................................................................................................................................................................
9.480216e+04
....................................................................................................................................................................................
9.675051e+04
....................................................................................................................................................................................
9.866387e+04
....................................................................................................................................................................................
1.005434e+05
....................................................................................................................................................................................
1.023903e+05
....................................................................................................................................................................................
1.042057e+05
....................................................................................................................................................................................
1.059908e+05
....................................................................................................................................................................................
1.077468e+05
....................................................................................................................................................................................
1.094747e+05
....................................................................................................................................................................................
1.111758e+05
....................................................................................................................................................................................
1.128509e+05
....................................................................................................................................................................................
1.145012e+05
....................................................................................................................................................................................
1.161278e+05
....................................................................................................................................................................................
1.177315e+05
....................................................................................................................................................................................
1.193132e+05
....................................................................................................................................................................................
1.208741e+05
....................................................................................................................................................................................
1.224147e+05
....................................................................................................................................................................................
1.239361e+05
....................................................................................................................................................................................
1.254391e+05
....................................................................................................................................................................................
1.269243e+05

mpccostAll =

   1.0e+05 *

    0.0649
    0.0525
    0.0552
    0.0646
    0.0780
    0.0942
    0.1127
    0.1331
    0.1550
    0.1783
    0.2027
    0.2280
    0.2541
    0.2807
    0.3079
    0.3353
    0.3630
    0.3908
    0.4185
    0.4462
    0.4738
    0.5011
    0.5282
    0.5549
    0.5814
    0.6074
    0.6331
    0.6584
    0.6832
    0.7076
    0.7316
    0.7551
    0.7782
    0.8009
    0.8231
    0.8450
    0.8664
    0.8874
    0.9080
    0.9282
    0.9480
    0.9675
    0.9866
    1.0054
    1.0239
    1.0421
    1.0599
    1.0775
    1.0947
    1.1118
    1.1285
    1.1450
    1.1613
    1.1773
    1.1931
    1.2087
    1.2241
    1.2394
    1.2544
    1.2692


kk =

     0

